CREATE DATABASE [gsi_lab1] ON  PRIMARY 
( NAME = N'gsi_lab1', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10.SQL_ALPHA\MSSQL\DATA\gsi_lab1.mdf' , SIZE = 3072KB , FILEGROWTH = 0)
 LOG ON 
( NAME = N'gsi_lab1_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10.SQL_ALPHA\MSSQL\DATA\gsi_lab1_log.ldf' , SIZE = 1024KB , FILEGROWTH = 0)
GO
ALTER DATABASE [gsi_lab1] SET COMPATIBILITY_LEVEL = 100
GO
ALTER DATABASE [gsi_lab1] SET ANSI_NULL_DEFAULT OFF 
GO
ALTER DATABASE [gsi_lab1] SET ANSI_NULLS OFF 
GO
ALTER DATABASE [gsi_lab1] SET ANSI_PADDING OFF 
GO
ALTER DATABASE [gsi_lab1] SET ANSI_WARNINGS OFF 
GO
ALTER DATABASE [gsi_lab1] SET ARITHABORT OFF 
GO
ALTER DATABASE [gsi_lab1] SET AUTO_CLOSE OFF 
GO
ALTER DATABASE [gsi_lab1] SET AUTO_CREATE_STATISTICS ON 
GO
ALTER DATABASE [gsi_lab1] SET AUTO_SHRINK OFF 
GO
ALTER DATABASE [gsi_lab1] SET AUTO_UPDATE_STATISTICS ON 
GO
ALTER DATABASE [gsi_lab1] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO
ALTER DATABASE [gsi_lab1] SET CURSOR_DEFAULT  GLOBAL 
GO
ALTER DATABASE [gsi_lab1] SET CONCAT_NULL_YIELDS_NULL OFF 
GO
ALTER DATABASE [gsi_lab1] SET NUMERIC_ROUNDABORT OFF 
GO
ALTER DATABASE [gsi_lab1] SET QUOTED_IDENTIFIER OFF 
GO
ALTER DATABASE [gsi_lab1] SET RECURSIVE_TRIGGERS OFF 
GO
ALTER DATABASE [gsi_lab1] SET  DISABLE_BROKER 
GO
ALTER DATABASE [gsi_lab1] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO
ALTER DATABASE [gsi_lab1] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO
ALTER DATABASE [gsi_lab1] SET PARAMETERIZATION SIMPLE 
GO
ALTER DATABASE [gsi_lab1] SET  READ_WRITE 
GO
ALTER DATABASE [gsi_lab1] SET RECOVERY FULL 
GO
ALTER DATABASE [gsi_lab1] SET  MULTI_USER 
GO
ALTER DATABASE [gsi_lab1] SET PAGE_VERIFY CHECKSUM  
GO
USE [gsi_lab1]
GO
IF NOT EXISTS (SELECT name FROM sys.filegroups WHERE is_default=1 AND name = N'PRIMARY') ALTER DATABASE [gsi_lab1] MODIFY FILEGROUP [PRIMARY] DEFAULT
GO
